include(../DevicePlugin.pri)
BUILD_DIR = $$clean_path($$OUT_PWD)
LIB_DIR = $$clean_path($$IDE_APP_ROOT/bin)
TOP_SRC_DIR = $$clean_path($$IDE_APP_ROOT)

DESTDIR = $$clean_path($$IDE_APP_ROOT/bin/Devices)
win32 {
    DLLDESTDIR = $$IDE_APP_ROOT/bin/Devices
}
unix {
    DESTDIR = $$IDE_APP_ROOT/bin
    LIB_DIR = $$clean_path($$IDE_APP_ROOT/bin/Devices)
}

LIB_SUFFIX=""
CONFIG(debug, debug|release) { #debug
    win32 {
        LIB_SUFFIX=d
    }
}

LIBS += -L$$clean_path($$LIB_DIR) -lshared
LIBS += -L$$clean_path($$LIB_DIR) -lcore
LIBS += -L$$clean_path($$LIB_DIR) -ldevice_core
LIBS += -L$$clean_path($$LIB_DIR) -lqtpropertybrowser$$LIB_SUFFIX

INCLUDEPATH += \
    $$TOP_SRC_DIR/GSLibs/core          \
    $$TOP_SRC_DIR/GSLibs/shared        \
    $$TOP_SRC_DIR/GSDevice/DeviceCore  \
    $$TOP_SRC_DIR/GSLibs/qtpropertybrowser

SOURCES += RandomGen.cpp

HEADERS += RandomGen.h
DISTFILES += RandomGen.json


